package com.deyuanyun.pic.eqpt.service;

import com.deyuanyun.pic.eqpt.domain.EquipmentInfo;

import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.List;

/**
 * Created by Bill.li on 2015/12/30.
 */
public interface EquipmentInfoService {
    /**
     * Bill.li  获取设备数据和条件查询设备
     * */
    List<EquipmentInfo> getQuipment(HashMap<String, Object> info);

    /**
     * Bill.li  添加设备数据
     * */
    Boolean addQuipment(HashMap<String, Object> param) throws InstantiationException, IllegalAccessException, NoSuchMethodException, InvocationTargetException, Exception;

    /**
     * Bill.li  编辑更新设备数据
     * */
    Boolean updateQuipment(HashMap<String, Object> param) throws InstantiationException, IllegalAccessException, NoSuchMethodException, Exception;

    /**
     * Bill.li  删除设备数据
     * */
    boolean delQuipment(HashMap<String, Object> param);

    /**
     * Bill.li  导出设备数据
     * */
    //List<List<String[]>>  exportQuipment(HashMap<String, Object> param);
    List<String[]>  exportQuipment(HashMap<String, Object> param);
}
